﻿<link rel="stylesheet" type="text/css" href="{$atplPath}skin/admin2013_child.css" />
<script language="javascript">
function del(id)
{
    if ( confirm("该操作将不可逆！\n您确定要删除吗？"))
    {
	  setCookie("delurl",window.location.href);
      location.href = "houseconfig.aspx?action=delrz&ID=" + id
   }
}
function delAll(o,str,astr)
{
	if ( confirm("您确定要"+astr+"所有选中的信息吗？"))
	{
		setCookie("delurl",window.location.href);
		document.getElementById("styleid").value=str;
       document.getElementById("form").submit();
	}
}
</script>
<link rel="stylesheet" type="text/css" href="{$atplPath}js/shade/css/lightwindow.css" />
<script type="text/javascript" src="{$atplPath}js/shade/javascript/prototype.js"></script>
<script type="text/javascript" src="{$atplPath}js/shade/javascript/effects.js"></script>
<script type="text/javascript" src="{$atplPath}js/shade/javascript/lightwindow.js"></script>
<div class="wrapper">
	<div class="tab_01" id="tab_change_iskill">
		<ul class="clearfix">
			<li id="purl" class="{$colname}"><a href="?colname=" data-colname="">全部</a></li>
			<li id="purl0" class="{$colname0}"><a href="?colname=0" data-colname="0">待处理</a></li>
			<li id="purl1" class="{$colname1}"><a href="?colname=1" data-colname="1">已批准</a></li>
			<li id="purl2" class="{$colname2}"><a href="?colname=2" data-colname="2">已拒绝</a></li>
		</ul>
	</div>
	<form name="form2" method="post" id="form2" action="" style="display:block; padding:5px 0 20px;">
		<div style="display:none;">　按状态查找：<input type="radio" name="colname" id="colname_" value="" {$colname}>全部 <input type="radio" id="colname_0" name="colname" value="0" {$colname0}>待处理 <input type="radio" name="colname" id="colname_1" value="1" {$colname1}>已批准 <input type="radio" name="colname" id="colname_2" value="2" {$colname2}>已拒绝</div>
		按经纪人名称查找：<input type="text" name="keyword" value="{$keyword}"> <input type="submit" class="global2_btn" style="line-height:26px;" value="确定">
	</form>
	<form name="form" id="form" method="post" action="?action=delrz">
	<input type="hidden" name="styleid" id="styleid" value="1">
	<table align="center" cellpadding="2" width="100%" cellspacing="0" class="toptable grid table_style table_style_2017" border="0">
		<tr>
			<th>选择</th>
			<th>提交时间</th>
			<th>提交人</th>
			<th>经纪人姓名</th>
			<th>描述</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
		<tag:Loop ListType="Listjingjirenrz" RecType="New" PageSize="50" ColorSplit="1" TitleLen="55" RecColumn="4" CusTpl="0" Template="house/List_dianpuqianyue_Tr.htm" />
	</table>
	<div style="margin-top:10px;">
		<input name="alldel" type="checkbox" id="alldel" value="on" onclick="Allaction(this.form)">全选　<a href="javascript:delAll(this,'2','批准');" class="global2_btn_orange">批准</a> <a href="javascript:delAll(this,'3','拒绝');" class="global2_btn_blue">拒绝</a> <a href="javascript:delAll(this,4,'删除');" class="global2_btn">删除选中</a>
	</div>
	</form>
	<div style="padding:20px 0;">{$PageSplit}</div>
</div>
<script src="{$atplPath}js/jquery-1.10.2.min.js"></script>
<script>
jQuery.noConflict();
jQuery.fn.tab_change_iskill = function(){
	var t=jQuery(this),list = t.find('a');
	list.click(function(e){
		e.preventDefault();
		jQuery('#colname_'+jQuery(this).attr('data-colname')).trigger('click');
		jQuery('#form2').submit();
	});
}
jQuery('#tab_change_iskill').tab_change_iskill();
</script>
</body></html>

